<%-- 
    Document   : message
    Created on : Feb 8, 2012, 11:45:35 AM
    Author     : PhucAn
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>       
    </head>
    <body>
         <%
            Object hMessage=request.getSession().getAttribute("message");
            boolean hasMessage=true;
            if(hMessage==null)hasMessage=false;
                       else if(hMessage.toString().equals(""))hasMessage=false;
            request.getSession().setAttribute("message", "");
            %>
        <div id="message-box" style="display:<%=hasMessage?"block":"none" %>">
           <%=hasMessage?hMessage.toString():"" %>
        </div>
    </body>
</html>
